<template>
  <!-- 功能按钮配置 -->
  <ButtonConfig :record-data="funcBean" :origin="originType" />
</template>
<script>
  import { defineComponent, ref } from 'vue';
  import ButtonConfig from '@/components/button/index.vue';
  export default defineComponent({
    name: 'FuncButton',
    components: { ButtonConfig },
    props: { funcBean: Object, origin: String },
    setup(props) {
      const originType = ref(props.origin);
      return { originType };
    },
  });
</script>
